package br.com.br.stockoptions;

import org.apache.cordova.DroidGap;

import android.os.Bundle;
import android.app.Activity;
import android.view.Menu;
import android.webkit.WebSettings;

public class StockOptionsMainActivity extends DroidGap {

//	@Override
//	protected void onCreate(Bundle savedInstanceState) {
//		super.onCreate(savedInstanceState);
//		setContentView(R.layout.activity_stock_options_main);
//	}
//
//	@Override
//	public boolean onCreateOptionsMenu(Menu menu) {
//		// Inflate the menu; this adds items to the action bar if it is present.
//		getMenuInflater().inflate(R.menu.stock_options_main, menu);
//		return true;
//	}
	
	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		//super.loadUrl("file:///android_asset/www/index.html");
		super.loadUrl("file:///android_asset/www/index-google.html");
		//super.loadUrl("file:///android_asset/www/index-jquery.html");
	}

	@Override
	public void init() {
		super.init();
		WebSettings settings = this.appView.getSettings();
		settings.setUserAgentString("StockOptions Cordova Webview Android");
	}

}
